package com.virtium.vpm.dao;

import java.util.List;

import org.hibernate.LockMode;
import org.hibernate.Query;
import org.hibernate.criterion.Example;

import com.virtium.vpm.hibernate.model.User;



public interface UserDAO extends GenericDAO{
	public void save(User transientInstance);
	public void delete(User persistentInstance);
	public User findById(java.lang.Integer id);
	public List findByExample(User instance);
	public List findByProperty(String propertyName, Object value);
	public List findByFullName(Object fullName);
	public List findByUserName(Object userName);
	public List findByPassword(Object password);
	public List findAll();
	public User merge(User detachedInstance);
	public void attachDirty(User instance);
	public void attachClean(User instance);
}
